package com.iwhalecloud.citybrain.flow.platform.manager.domain.model.form;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;

import lombok.Data;

/**
 * @author lilh
 * @date 2020/12/8 上午10:51
 */
@Data
public class OuterSourceRequestVo implements Serializable {
    private static final long serialVersionUID = 6671923806456045689L;

    @NotEmpty(groups = {Config.class, Pre.class})
    private String url;

    private String headers;

    @NotEmpty(groups = {Config.class, Pre.class})
    private String requestMethod;

    @NotEmpty(groups = {Pre.class})
    private String idPath;

    @NotEmpty(groups = {Pre.class})
    private String valuePath;

    public interface Config {
    }

    public interface Pre {
    }
}
